![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@aws-sdk/credential-provider-imds
Advanced tools
Changelog
Readme
This module provides two CredentialProvider
factory functions,
fromContainerMetadata
and fromInstanceMetadata
, that will create
CredentialProvider
functions that read from the ECS container metadata service
and the EC2 instance metadata service, respectively.
A CredentialProvider
function created with fromContainerMetadata
will return
a promise that will resolve with credentials for the IAM role associated with
containers in an Amazon ECS task. Please see IAM Roles for Tasks
for more information on using IAM roles with Amazon ECS.
A CredentialProvider
function created with fromInstanceMetadata
will return
a promise that will resolve with credentials for the IAM role associated with
an EC2 instance. Please see IAM Roles for Amazon EC2
for more information on using IAM roles with Amazon EC2.
You may customize how credentials are resolved by providing an options hash to
the fromContainerMetadata
and fromInstanceMetadata
factory functions. The
following options are supported:
timeout
- The connection timeout (in milliseconds) to apply to any remote
requests. If not specified, a default value of 1000
(one second) is used.maxRetries
- The maximum number of times any HTTP connections should be
retried. If not specified, a default value of 0
will be used.Additionally, fromInstanceMetadata
supports the following options:
profile
- The configuration profile to use. If not specified, the provider
will use default profile name associated with the EC2 instance as reported by
the Instance Metadata Service.FAQs
AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service
The npm package @aws-sdk/credential-provider-imds receives a total of 3,066,674 weekly downloads. As such, @aws-sdk/credential-provider-imds popularity was classified as popular.
We found that @aws-sdk/credential-provider-imds demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.